
body, html {
    height: 100%;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: right;
    background-color: #f0f0f0;
    background-image: url('../images/z1.jpg');
    background-size: 1500px 620px;
    background-position: center;
    background-repeat: no-repeat;
}
/* 表单头部 */
.form-header {
    margin-bottom: 20px;
}
/* 整个登录 */
.form-container {
    text-align: left;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    max-width: 460px;
    max-height: 500px;
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
}

form {
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    width: 350px;
    height: 300px;
}

label {
    font-weight: bold;
}

input {
    width: 100%;
    padding: 8px;
    margin: 5px 0;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 3px;
}

.btn{ 
    background-color: #007bff;
    color: #fff;
    border: none;
    padding: 10px;
    cursor: pointer;
    width: 100%;
    border-radius: 3px;
}

.btn:hover {
    background-color: #0056b3;
}

.error {
    color: red;
    font-size: 12px;
    margin-top: 5px;
    display: block;
}

/* 表单底部 */
.form-footer {
    position: absolute;
    bottom: 20px;
    right: 20px;
}

.register-link {
    display: inline-block;
    padding: 15px 20px;
    text-decoration: none;
    color: #007bff;
    border-bottom: 1px solid transparent;
    transition: border-bottom 0.3s ease, color 0.3s ease;
}

.register-link:hover {
    border-bottom: 1px solid #007bff;
    color: #0056b3;
}